Skip to content

Silence lock extension log spam - #108

Merged
codingjoe merged 3 commits into
mainfrom
codingjoe-silence-lock-logs
Nov 29, 2026
Merged

codingjoe merged 3 commits into
mainfrom
codingjoe-silence-lock-logs

Conversation

@codingjoe

Copy link
Copy Markdown
Owner

APScheduler logs every lock extension run at INFO on the default executor. That fills production logs every few seconds.

Changes:

  • Run the lock extension on a dedicated lock executor.
  • Set the apscheduler.executors.lock logger to WARNING, so the lock job's INFO lines are dropped while warnings and errors still log.
  • Keep all other jobs on the default executor, so their INFO logs are unchanged.

@codecov

codecov Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.06%. Comparing base (f0cb211) to head (90a1dbe).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #108      +/-   ##
==========================================
+ Coverage   95.95%   96.06%   +0.11%     
==========================================
  Files           6        6              
  Lines         173      178       +5     
==========================================
+ Hits          166      171       +5     
  Misses          7        7              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codingjoe
codingjoe merged commit d47df69 into main Nov 29, 2026
17 checks passed
@codingjoe
codingjoe deleted the codingjoe-silence-lock-logs branch November 29, 2026 14:05
codingjoe added a commit that referenced this pull request Nov 29, 2026
Adopt the dedicated lock executor from #108 instead of the message-text filter in the log handler. The lock job now runs on its own executor at WARNING, so the overview pane stays quiet without duplicating the filter.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant